package com.blkbox.javase.thread.ex1;

import org.junit.Before;
import org.junit.Test;

public class MyRunnableTest {

	@Before
	public void setUp() throws Exception {
	}

	@Test
	public void test() {
		MyRunnable ds1 = new MyRunnable("AAA");
		MyRunnable ds2 = new MyRunnable("BBB");

		Thread t1 = new Thread(ds1);
		Thread t2 = new Thread(ds2);

		t1.start();
		t2.start();
	}

}
